<?php
    apf_require_class("PageHelper");
    $img_path = '/img/home/';
    ?>
    <?php //show($flow_info);?>
<div class="header">
    <div class="bg_top"></div>
    <div class="logo"></div>
</div>

<div class="container">
    <h4>员工转正办理</h4>
    <div class="p_tit">
        <span>姓名：<?=$flow_info['user_name'];?></span>
        <span>部门：<?=$flow_info['department_name'];?></span>
        <span>职位：<?=$flow_info['job_name'];?>-<?=$user_info['p_level'].$user_info['m_level'];?></span>
    </div>

    <form action="" method="post" class="p2">
        <ul>
            <li class="p2l1">
                <b>入职日期</b>
                <label class="reason"><?=$user_info['enter_date'];?>（合同年限：<?=(int)$user_info['join_keep'];?>年）</label>
            </li>

            <li class="p2l1">
                <b>试 用 期</b>
                <label class="reason"><?=$user_info['trial_keep'];?>个月</label>
            </li>

            <li class="p2l1">
                <b>转正日期</b>
                <label class="reason"><?=$user_info['indue_date'];?></label>
            </li>

            <li class="p2l2">
                <b>主管审批</b>
            </li>

            <li class="p2l3">
                <div>
                    <!-- <input type="hidden" name="flow_id" value="<?=$flow_info['flow_id'];?>" /> -->
                    <input type="hidden" name="effect_date" value="<?=$flow_info['effect_date'];?>" />
                    <input type="hidden" name="user_id" value="<?=$flow_info['user_id'];?>" />
                    <input type="hidden" name="user_name" value="<?=$flow_info['user_name'];?>" />
                    <input type="hidden" name="work_city_id" value="<?=$flow_info['work_city_id'];?>" />
                    <input type="radio" name="super_opinion" value="1" <?=$flow_info['super_opinion'] == 1 || $flow_info['super_opinion'] == 0 ? 'checked' : '' ;?>  <?=$is_disable;?>  />同意该员工转正
                </div>
                <div>
                    <input type="radio" name="super_opinion" value="2" <?=$flow_info['super_opinion'] == 2 ? 'checked' : '' ;?>  <?=$is_disable;?>  />不同意该员工转正
                    <div class="l3d">
                        <label style="display:inline-block;height:20px;vertical-align:top; width:57px;" >原因：</label>
                        <textarea cols="20" rows="4" name="super_reason" maxlength="90" <?=$is_disable;?> ><?=$flow_info['super_reason']?></textarea>
                    </div>
                </div>
            </li>

            <li class="p2l4">
                <?php if( $is_super  && date('Ymd') <= date('Ymd',strtotime($flow_info['effect_date'])) ){?>
                <input type="submit" id="save_a" class="save_a" value=""/>
                <?php }?>
            </li>
        </ul>
    </form>
</div>

<div class="footer"></div>